package com.bluebench.bigul.domain.graphics;

import com.itextpdf.text.BaseColor;
import com.itextpdf.text.pdf.PdfShading;
import com.itextpdf.text.pdf.PdfWriter;

public abstract class Shading {
   private BaseColor startColor;
   private BaseColor endColor;
   
   protected Shading() {
	
   }
   
   protected Shading(BaseColor startColor, BaseColor endColor) {
		this.startColor = startColor;
		this.endColor = endColor;
   }
   
   public abstract PdfShading getItextShading(PdfWriter writer);   
   
   public BaseColor getStartColor() {
	   return startColor;
   }
   public void setStartColor(BaseColor startColor) {
	   this.startColor = startColor;
   }
   public BaseColor getEndColor() {
	   return endColor;
   }
   public void setEndColor(BaseColor endColor) {
	   this.endColor = endColor;
   }
   
   
}
